package com.fulihui.systemcore.dto;

import java.util.LinkedList;
import java.util.List;

import com.fulihui.systemcore.common.BaseDTO;

/**
 * 菜单传输模型
 * @author leeson 2016年5月17日 下午1:24:40
 */
public class MenuDTO extends BaseDTO {
    private static final long serialVersionUID = -2532837560648355637L;

    /** ID 唯一标识 */
    private Integer           id;
    /** 菜单名称 */
    private String            name;
    /** 菜单代码 */
    private String            code;
    /** 菜单图标 */
    private String            icon;
    /** 菜单链接 */
    private String            link;
    /** 父菜单代码 */
    private String            parentCode;
    /** 权限码 */
    private String            permissionCode;
    /** 后台管理系统代码 */
    private String            projectCode;
    /** 排序字段 */
    private Integer           index;

    /**
     * 子菜单列表
     */
    private List<MenuDTO>     childMenuList    = new LinkedList<>();

    public List<MenuDTO> getChildMenuList() {
        return childMenuList;
    }

    public void setChildMenuList(List<MenuDTO> childMenuList) {
        this.childMenuList = childMenuList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}